﻿<UserControl x:Class="MySettlers.View.Components.editor.EditorPreSettingsUC"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <TextBlock Text="Name:"></TextBlock>
            <TextBox Name="NameTextBox" Width="100"></TextBox>
        </StackPanel>
        <StackPanel Grid.Row="1">
            <TextBlock Text="Map Size:"></TextBlock>
            <StackPanel Orientation="Horizontal">
                <TextBlock Grid.Row="0" Grid.Column="0" Text="Width"></TextBlock>
                <TextBox Name="WidthTextBox" Grid.Row="0" Grid.Column="1" Width="30" Text="50"></TextBox>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <TextBlock Grid.Row="1" Grid.Column="0" Text="Height"></TextBlock>
                <TextBox Name="HeightTextBox" Grid.Row="1" Grid.Column="1" Width="30" Text="50"></TextBox>
            </StackPanel>
        </StackPanel>
        <StackPanel Grid.Row="2">
            <TextBlock Text="TODO Escolha de de equipas e qts são"></TextBlock>
        </StackPanel>
        <StackPanel Grid.Row="3">
            <Button Name="NextButton" Click="Button_Click">Next</Button>
            <Button Name="BackButton" Click="Button_Click">Back</Button>
        </StackPanel>
    </Grid>
</UserControl>
